/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package minimalshift;

import org.jgrapht.graph.DefaultWeightedEdge;

/**
 *
 * @author Michal
 */
public class GraphEdge extends DefaultWeightedEdge {

	private boolean shift;
	private int cost;
	private boolean back;

	public GraphEdge(boolean isShift, int cost) {
		this(isShift,cost,false);
	}
	
	public GraphEdge(boolean isShift,int cost, boolean back){
		shift = isShift;
		this.cost = cost;
		this.back = back;
	}

	public int getCost() {
		return cost;
	}

	public boolean isShift() {
		return shift;
	}

	public boolean isBack() {
		return back;
	}
	
}
